const chooseImage = (
    count = 9,
    sizeType = ["original", "compressed"],
    sourceType = ["album", "camera"],

) => {
    return new Promise((resolve, reject) => {
        uni.chooseImage({
            count: count,
            sizeType: sizeType,
            sourceType: sourceType
        }).then((res) => {
            resolve(res);
        }).catch((err) => {
            reject(err);
        })
    });
}